<div class="page content4 content" data-page="bulkstockAbnormalDetail" id="bulkstockAbnormalDetail">
	<div class="page-content">
		<div class="page-content-main-header">
			<div class="page-content-main-header-item abnormalTally"><b style="color: #FF7344;">理货货箱异常</b></div>
			<span class="bar">|</span>
			<div class="page-content-main-header-item abnormalSign"><b style="color: #000;">签收异常</b></div>

			<div class="line-gray">
				<img src="../../../res/images/icon/markPage.png" />
			</div>
		</div>
		<div class="page-content" id="submitContainerTallying" action="submitContainerTallying" version="v1.0">
			<div class="page-content-main">
				<div class="page-content-main-content tallyDetail_main_content">
				</div>
			</div>
			<script type="text/template" id="financeWaybillListTpl">
				{@each datas as it}
				<option value="${it.waybillNumber}">${it.waybillNumber}</option>
				{@/each}
			</script>
			<script type="text/template" id="tallyDetailTpl">
				{@each datas as it}
				<div class="page-content-main-content-item">
					<input type="hidden" name="tallyingId" value="${it.tallyingId}" />
					<input type="hidden" name="inventoryId" value="${it.inventoryId}" />
					<div class="tallyDataLine">
						<div class="tallyDataTitle">货箱信息：</div>
						<span>箱号：${it.caseNumber}</span>
						<span>箱型尺寸：${it.caseSize}</span>
						<span>铅封号1：${it.facingSlip}</span>
					</div>
					<div class="tallyDataLine">
						<span>实际理货地址：${it.tallyAddress}</span>
						<span>运单号：${it.waybillNumber}</span>
						<span>铅封号2：${it.facingSlipNext}</span>
					</div>
				</div>
				<div class="page-content-main-content-item tallyDataLine">
					<div class="tallyDataTitle">货物清单：</div>
					<div class="">
						{@each it.containerBulkstocks as that,index}
						<table class="table">
							<tr>
								<th>货物名称</th>
								<th>数量(${that.unit})</th>
								<th>重量(吨)</th>
								<th>体积(m<sup>3</sup>)</th>
								<th>托盘号</th>
							</tr>
							</thead>
							<tbody>
								<tr>
									<td>${that.bulkstockName}</td>
									<td>${that.quantity}</td>
									<td>${that.weight}</td>
									<td>${that.volume}</td>
									<td>${that.trayNumber}</td>
								</tr>
							</tbody>
						</table>
						<div>
							<div class="tallyDataTitle">货物照片：</div>
							<input type="hidden" name="filesUuid" class="bulkstockFilesUuids" value="${that.filesUuid}" />
							<p class="uploadImgP" id="uploadImgP${index}">
							</p>
							<span>货物异常标识：${getValueByKey(10, that.abnormal)}</span>
							<span>货物异常说明：${that.abnormalComment}</span>
						</div>
						{@/each}
					</div>
				</div>

				<div class="page-content-main-content-item tallyDataLine">
					<div class="tallyDataTitle">理货前照片：</div>
					<div class="">
						<input type="hidden" name="tallyPreFile" value="${it.tallyPreFile}" class="preTallyFiles" />
						<p id="uploadFilepreTallyP" class="uploadFilepreTallyP none">
							<label for="uploadFilepreTally" class="file"> 点击上传图片
								<input type="file" class="uploadFileInput1" name="file" id="uploadFilepreTally" accept=".png,.jpg,.bmp" />
							</label>
						</p>

					</div>
				</div>

				<div class="page-content-main-content-item tallyDataLine">
					<div class="tallyDataTitle">理货后照片：</div>
					<div class="">
						<input type="hidden" name="tallySuffixFile" value="${it.tallySuffixFile}" class="suffixTallyFiles" />
						<p id="uploadFilesuffixTallyP" class="uploadFilesuffixTallyP none">
							<label for="uploadFilesuffixTally" class="file"> 点击上传图片
								<input type="file" class="uploadFileInput2" name="file" id="uploadFilesuffixTally" accept=".png,.jpg,.bmp" />
							</label>
						</p>
					</div>
				</div>
				<div class="page-content-main-content-item tallyDataLine">
					<div class="tallyDataTitle">理货异常：</div>
					<div class="">
						<span>理货异常标注：${getValueByKey(10, it.abnormal)}</span>
					</div>
				</div>

				<div class="page-content-main-content-item  abnormalDiv">
					<div class="title"><b>异常单：</b></div>
					<p>
						<span class="abnormalSpan"><span class="requiredInput">*</span>异常理货地点：${it.tallyExAddress}
						</span>
						<span class="abnormalSpan"><span class="requiredInput">*</span>异常理货类型： ${getValueByKey(11, it.tallyExAbnormalState)}
						</span>
						<span class="abnormalSpan"><span class="requiredInput">*</span>理货异常说明：${it.tallyExRemark}
						</span>
					</p>
					<div>
						录音文件:
						<input type="hidden" name="tallyExSoundRecorde" id="soundRecorde" value="${it.tallyExSoundRecorde}" />
						<p id="soundRecordeP" class="soundRecordeP none">
							<label for="uploadFileSoundRecorde1" class="file uploadFileSoundRecorde1"> 上传录音文件
								<input type="file" class="uploadFileInput2" name="file" id="uploadFileSoundRecorde1" />
							</label>
						</p>
					</div>
					<div>
						异常图片:
						<input type="hidden" name="tallyExAbnormalFile" id="abnormalFile" value="${it.tallyExAbnormalFile}" />
						<p id="abnormalFileP" class="abnormalFileP none">
							<label for="uploadFileAbnormalFile1" class="file uploadFileAbnormalFile1"> 上传异常图片
								<input type="file" class="uploadFileInput2" name="file" id="uploadFileAbnormalFile1" accept=".png,.jpg,.bmp" />
							</label>
						</p>
					</div>
				</div>
				{@/each}
			</script>
		</div>

		<!--异常签收-->
		<div class="dialogContent abnormalSignDeliveryContent none" action="signAbnormalContainerInventory" version="v1.0">
			<div>
				<input type="hidden" name="inventoryId" />
				<div class="deliveryDiv">
					<span class="deliverySpan"><span class="requiredInput">*</span>签收地点：
					<input type="text" name="signAddress" codeName="签收地点" isNUll="1">
					</span>
					<span class="deliverySpan"><span class="requiredInput">*</span>异常类别：
					<select name="abnormalState">
						<option value="0">未知</option>
						<option value="1">货损</option>
						<option value="2">丢失</option>
					</select>

					</span>
				</div>
				<div class="signPreDiv">
					<span class="requiredInput">*</span><b class="deliverySpan">异常图片：</b>
					<div class="showImg">
						<input type="hidden" name="signAbnormalFile" codeName="异常图片" isNUll="1" class="signAbnormalFile" />
					</div>
					<p id="uploadFilepreTallyP3" class="uploadFilepreTallyP none">
						<label for="uploadSignAbnormalFile" class="file"> 点击上传图片
							<input type="file" class="uploadFileInput1" name="file" id="uploadSignAbnormalFile" accept=".png,.jpg,.bmp" />
						</label>
					</p>
				</div>
				<div class="signSuffixDiv">

					<span class="requiredInput">*</span><b class="deliverySpan">异常录音文件：</b>
					<div class="showImg"><input type="hidden" name="signSoundRecorde" codeName="异常录音文件" isNUll="1" class="signSoundRecorde" />
					</div>
					<p id="uploadFilepreTallyP4" class="uploadFilepreTallyP none">
						<label for="uploadSignSoundRecorde" class="file"> 点击上传图片
							<input type="file" class="uploadFileInput1" name="file" id="uploadSignSoundRecorde" accept=".png,.jpg,.bmp" />
						</label>
					</p>
				</div>
				<br>
				<div class="signPreDiv">
					<span class="requiredInput">*</span><b class="deliverySpan">签收前图片：</b>
					<div class="showImg"><input type="hidden" name="signPreFile" codeName="签收前图片" isNUll="1" class="signPreFile" />
					</div>
					<p id="uploadFilepreTallyP5" class="uploadFilepreTallyP none">
						<label for="uploadSignPreFile1" class="file"> 点击上传图片
							<input type="file" class="uploadFileInput1" name="file" id="uploadSignPreFile1" accept=".png,.jpg,.bmp" />
						</label>
					</p>
				</div>
				<div class="signSuffixDiv">

					<span class="requiredInput">*</span><b class="deliverySpan">签收后图片：</b>
					<div class="showImg"><input type="hidden" name="signSuffixFile" codeName="签收后图片" isNUll="1" class="signSuffixFile" />
					</div>
					<p id="uploadFilepreTallyP6" class="uploadFilepreTallyP none">
						<label for="uploadSignSuffixFile1" class="file"> 点击上传图片
							<input type="file" class="uploadFileInput1" name="file" id="uploadSignSuffixFile1" accept=".png,.jpg,.bmp" />
						</label>
					</p>
				</div>
				<p>
					<span><span class="requiredInput">*</span>签收说明：
					<textarea class="deliveryTextarea" name="signRemark" codeName="签收说明" isNUll="1"></textarea>
					</span>
				</p>
			</div>
		</div>
	</div>
	<div class="footButton">
		<a href="javascript:history.go(-1);" class="dialogBtn">返回</a>
	</div>
</div>